import java.util.Scanner;

public class Day3 {
    /**
     * 简写单词
     */
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String str = scanner.nextLine();
        String[] strs = str.split(" ");
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < strs.length; i++) {
            sb.append(strs[i].charAt(0));
        }
        System.out.println(sb.toString().toUpperCase());
    }


}
